/**
 * @(#)TaskInstanceCommentForm.java Jan 20, 2010
 *   
 * Copyright  (c) 2009-2010 Wilmar IT Service,  Inc.   
 * All  rights  reserved.   
 * TODO
 */

package com.wilmar.process.web.form;

import java.io.Serializable;

/**
 * 任务实例的注释提交表单
 * 
 * @author MaKuBEX Email:makubexnet@gmail.com
 * @version 1.0.0
 */
public class TaskInstanceCommentForm implements Serializable {

	/**
	 * @serialField
	 */
	private static final long serialVersionUID = -7767669605886548397L;

	private String taskInstanceId;
	private String comment;
	private String commentId;
	private String reply;

	/**
	 * 默认构造函数
	 */
	public TaskInstanceCommentForm() {
		super();
	}

	/**
	 * 完整构造函数,用于构建一个回复注释的表单
	 * 
	 * @param taskInstanceId
	 *            任务实例编号
	 * @param commentId
	 *            注释编号
	 * @param reply
	 *            回复信息
	 */
	public TaskInstanceCommentForm(String taskInstanceId, String commentId,
			String reply) {
		super();
		this.taskInstanceId = taskInstanceId;
		this.commentId = commentId;
		this.reply = reply;
	}

	/**
	 * 完整构造函数,用于构建一个新增注释的表单
	 * 
	 * @param taskInstanceId
	 *            任务实例编号
	 * @param comment
	 *            注释内容
	 */
	public TaskInstanceCommentForm(String taskInstanceId, String comment) {
		super();
		this.taskInstanceId = taskInstanceId;
		this.comment = comment;
	}

	/**
	 * @return the taskInstanceId
	 */
	public String getTaskInstanceId() {
		return taskInstanceId;
	}

	/**
	 * @param taskInstanceId
	 *            the taskInstanceId to set
	 */
	public void setTaskInstanceId(String taskInstanceId) {
		this.taskInstanceId = taskInstanceId;
	}

	/**
	 * @return the comment
	 */
	public String getComment() {
		return comment;
	}

	/**
	 * @param comment
	 *            the comment to set
	 */
	public void setComment(String comment) {
		this.comment = comment;
	}

	/**
	 * @return the commentId
	 */
	public String getCommentId() {
		return commentId;
	}

	/**
	 * @param commentId
	 *            the commentId to set
	 */
	public void setCommentId(String commentId) {
		this.commentId = commentId;
	}

	/**
	 * @return the reply
	 */
	public String getReply() {
		return reply;
	}

	/**
	 * @param reply
	 *            the reply to set
	 */
	public void setReply(String reply) {
		this.reply = reply;
	}

}
